﻿//作者：       minjie.zhou
// 创建时间：   2012/12/13 21:09:37
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YDNoteOpenAPI4N;
using YDNoteOpenAPI4N.DataModel;
using YDNoteOpenAPI4N.YDConsumer;

namespace AgileToDo.Common
{
    internal class OAuthHelper
    {
        public static YDDesktopConsumer Consumer;
        public static YDTokenManager TokenManager;

        public static string AccessToken;
        public static string RequestToken;
        public static string VerifierCode;


        static OAuthHelper()
        {

            TokenManager = new YDTokenManager(YDAuthBaseInfo.ConsumerKey, YDAuthBaseInfo.ConsumerSecret); ;
            Consumer = new YDDesktopConsumer(YDAuthBaseInfo.ServiceDescription, TokenManager);
        }
    }
}
